package com.abc.client;

import com.abc.shared.Classification;
import com.abc.shared.ClassifiedItem;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	void  getClassification(AsyncCallback<Classification<Classification>> callback);
	void  getClassifiedItem(int itemid,  AsyncCallback<ClassifiedItem> callback);
	void updateItem(ClassifiedItem item, AsyncCallback<ClassifiedItem> callback);
	void  addItem(ClassifiedItem item, AsyncCallback<ClassifiedItem> callback);
	void deleteBranch(int itemid,AsyncCallback<Boolean> callback);
	void  updateParent(int newparent, int itemid, AsyncCallback<Boolean> callback);
}
